import  unittest
class NumbersTest(unittest.TestCase):
    def test_even(self):
        for i in range(0,6):
            with self.subTest(i=i):  # 错误时继续运行下面的循环
                self.assertEqual(i % 2, 0, "余数不为0")

        if __name__ == "__main__":
            unittest.main()
